package com.landis.temple.mobile;

import java.sql.Date;

/**
 * Class represents a twitter story
 * Not used in current production code
 * 
 * @author John Landis 
 * @author Anton Kronaj
 * 
 */
public class Story 
{
    int    storyId;
    int    authorId;
    String title;
    Date   startedDate;
    Date   endedDate;
    
    // set and get methods
    public int getStoryId()                      { return storyId; }
    public void setStoryId(int storyId)          { this.storyId = storyId; }
    public int getAuthorId()                     { return authorId; }
    public void setAuthorId(int authorId)        { this.authorId = authorId; }
    public String getTitle()                     { return title; }
    public void setTitle(String title)           { this.title = title; }
    public Date getStartedDate()                 { return startedDate; }
    public void setStartedDate(Date startedDate) { this.startedDate = startedDate; }
    public Date getEndedDate()                   { return endedDate; }
    public void setEndedDate(Date endedDate)     { this.endedDate = endedDate; }
    
    // constructor
    public Story( int storyId , int authorId , String title , Date startedDate , Date endedDate )
    {
        this.storyId     = storyId;
        this.authorId    = authorId;
        this.title       = title;
        this.startedDate = startedDate;
        this.endedDate   = endedDate;
    }
}
